package com.bite.ojsystem.service.impl;


import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.bite.ojsystem.domain.TestDomain;
import com.bite.ojsystem.mapper.TestMapper;
import com.bite.ojsystem.service.ITestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class TestService implements ITestService {

    @Autowired
    private TestMapper testMapper;

    @Override
    public List<TestDomain> list() {
        List<TestDomain> testDomains = testMapper.selectList(new LambdaQueryWrapper<TestDomain>());
        return testDomains;
    }

}
